// src/main/java/com/xxxy/ljh/myapplication/Dao/ActivityDao.java
package com.xxxy.ljh.myapplication.Dao;

import com.xxxy.ljh.myapplication.model.ActivityItem;
import java.util.List;

public interface ActivityDao {
    long createActivity(ActivityItem activity);
    ActivityItem getActivityById(int activityId);
    List<ActivityItem> getAllActivities();
    List<ActivityItem> getActivitiesByAssociationId(int associationId);
    boolean updateActivity(ActivityItem activity);
    boolean deleteActivity(int activityId);
    List<ActivityItem> getUpcomingActivities();
}
